package ex20.standardmbeantest;

/**
 * @packgeName: ex20
 * @ClassName: Car
 * @copyright: CopyLeft
 * @description:<描述>
 * @author: lili
 * @date: 2017/9/1-23:18
 * @version: 1.0
 * @since: JDK 1.8
 */
public class Car implements CarMBean{

    private String color = "red";

    @Override
    public String getColor() {
        return color;
    }

    @Override
    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public void drive() {
        System.out.println("Baby you can drive my car.");
    }
}
